﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;



/// <summary>
/// 玩家视角控制参数
/// </summary>
[CreateAssetMenu(menuName = "CharacterController/PlayerWatchProperties",fileName = "DefaultViewProperties")]
public class PlayerWatchProperties : ScriptableObject
{
    [SerializeField]
    private float minAngle;
    [SerializeField]
    private float maxAngle;
    [SerializeField]
    private string cameraName;
    [SerializeField]
    private bool activeViewControl;


    public float MinAngle{ get => minAngle; }
    public float MaxAngle{ get => maxAngle; }
    public string CameraName{ get => cameraName; }
    public bool ActiveViewControl{ get=> activeViewControl; }
}
